package com.bigfreakindeals.Models;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import com.bigfreakindeals.R;
import com.bigfreakindeals.Application.ApplicationEx;

import android.R.drawable;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.util.Log;



public class UniversityDeals {

	private long lastUpdate;
	private String ID;
	
	public boolean hasDeals = true;
	private String schoolName;
	private String schoolTitle;
	private String imageslug;
	private String schoolSlug;
	private String stateName;
	private String country;
	private String latitude;
	private String longitude;
	private String slugversion;
	private boolean isApproved;
	
	
	public Map<String, ActiveDeal> dealHashMap = null;
	private ArrayList<ActiveDeal> deals =  new ArrayList<ActiveDeal>();
	
	public int color_school_font = 0xffffff;
	public int color_school_bg = 0;
	
	private int color_tabFontColorNormal;
	private int color_tabFontColorSelected;
	
	public int color_tabBGColorNormal;
	public int color_tabFBGColorSelected;
	private int color_titleBarTopColor;
	private int color_titleBarBottomColor;
	
	private Drawable drawable_gradient_separator;
	
	public DrawableImageSlug drawablImages = null;
		public String URL_facebook;
	public String URL_twitter;
	
	public int selectedDealIndex = 0;
	
	public HashMap<String, Bitmap> imgTable = new HashMap<String, Bitmap>();

	
	public void addImage(String imageID, Bitmap bitmap){
		if (!imgTable.containsKey(imageID)){
			imgTable.put(imageID, bitmap); //null because bitmap still need to be fetch
		}else {
			imgTable.remove(imageID);
			imgTable.put(imageID, bitmap); //null because bitmap still need to be fetch
		}
	}
	
	
	public void updateHashMap(ActiveDeal value, String key){
		
		dealHashMap.put(key, value);
	}
	
	public UniversityDeals(){
	
	}
	
	public String getFacebookURL(){
		return URL_facebook;
		
	}
	
	public void setFacebookURL(String url){
		
		this.URL_facebook = url;
	}
	public String getTwitterURL(){
		return URL_twitter;
		
	}
	
	public void setTwitterURL(String url){
		
		this.URL_twitter = url;
	}
	
public void setID(String ID){
	this.ID = ID;
}
public String getID(String ID){
	return ID;
	
	
}
	private void setLastUpdate(long lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	private long getLastUpdate() {
		return lastUpdate;
	}

	public void setDeals(ArrayList<ActiveDeal> deals) {
		if (dealHashMap == null){
			dealHashMap = new HashMap<String, ActiveDeal>();
		}
		ActiveDeal item;
		for (int j = 0; j<deals.size(); j++){
			item = deals.get(j);
			dealHashMap.put(item.getDealID(), item);
			
		}
		this.deals  = deals;
	}

	public ArrayList<ActiveDeal> getDeals() {
		return deals;
	}
	public ActiveDeal getMainDeal(){
		if (deals!=null && deals.size()> 0)
			return deals.get(selectedDealIndex);
		else 
			return null;
	}


	

	public void setSchool(String schoolName) {
		this.schoolName = schoolName;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
		
	}
	
	
	private void updatedrawable(){
		if (drawablImages == null)
		drawablImages = new DrawableImageSlug(imageslug);
		
		//check db if slug exist
		
		//drawablImages = ApplicationEx.getInstance().getDrawableImage(imageslug);
	/*	drawablImages.drawable_tabNormal =Drawable.R.drawable.unvaz_tab_rest;
		drawable_tabSelected = R.drawable.unvaz_tab_push;
		drawable_beansay_btn_selected = R.drawable.unvaz_dog_beans_says_rest;
		drawable_beansay_btn_normal =  R.drawable.unvaz_dog_beans_says_push;
		drawable_beansay_dog =  R.drawable.unvaz_dog_beans_says;
		drawable_beansay_nodeal = R.drawable.unvaz_dog_beans_says_nodeal;
		drawable_beansay_text = R.drawable.unvaz_text_beans_says;
		drawable_beansay_dog_shadow = R.drawable.unvaz_text_beans_says;
		
	if (schoolSlug.contentEquals(new StringBuffer("univ-arizona"))){
			
			drawable_tabNormal = R.drawable.unvaz_tab_rest;
			drawable_tabSelected = R.drawable.unvaz_tab_push;
			drawable_beansay_btn_selected = R.drawable.unvaz_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.unvaz_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.unvaz_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.unvaz_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.unvaz_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.unvaz_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("arizona-state-univ"))){
			
			drawable_tabNormal = R.drawable.azstu_tab_rest;
			drawable_tabSelected = R.drawable.azstu_tab_push;
			drawable_beansay_btn_selected = R.drawable.azstu_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.azstu_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.azstu_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.azstu_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.azstu_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.azstu_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("univ-cal-berkley"))){
			
			drawable_tabNormal = R.drawable.ucabk_tab_rest;
			drawable_tabSelected = R.drawable.ucabk_tab_push;
			drawable_beansay_btn_selected = R.drawable.ucabk_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.ucabk_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.ucabk_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.ucabk_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.ucabk_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.ucabk_text_beans_says;
		}else if (schoolSlug.contentEquals(new StringBuffer("univ-cal-davis"))){
			drawable_tabNormal = R.drawable.ucadv_tab_rest;
			drawable_tabSelected = R.drawable.ucadv_tab_push;
			drawable_beansay_btn_selected = R.drawable.ucadv_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.ucadv_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.ucadv_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.ucadv_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.ucadv_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.ucadv_text_beans_says;
			
		}
		else if (schoolSlug.contentEquals(new StringBuffer("univ-cal-los-angeles"))){
			
			drawable_tabNormal = R.drawable.ucala_tab_rest;
			drawable_tabSelected = R.drawable.ucala_tab_push;
			drawable_beansay_btn_selected = R.drawable.ucala_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.ucala_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.ucala_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.ucala_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.ucala_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.ucala_text_beans_says;
			
		}
		else if (schoolSlug.contentEquals(new StringBuffer("univ-cal-san-diego"))){
			
			drawable_tabNormal = R.drawable.ucasd_tab_rest;
			drawable_tabSelected = R.drawable.ucasd_tab_push;
			drawable_beansay_btn_selected = R.drawable.ucasd_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.ucasd_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.ucasd_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.ucasd_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.ucasd_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.ucasd_text_beans_says;
			
		}
		
		
		else if (schoolSlug.contentEquals(new StringBuffer("univ-cal-santa-barbara"))){
			drawable_tabNormal = R.drawable.ucasb_tab_rest;
			drawable_tabSelected = R.drawable.ucasb_tab_push;
			drawable_beansay_btn_selected = R.drawable.ucasb_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.ucasb_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.ucasb_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.ucasb_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.ucasb_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.ucasb_text_beans_says;
			
		}
		else if (schoolSlug.contentEquals(new StringBuffer("univ-cal-santa-cruz"))){
			
			drawable_tabNormal = R.drawable.ucasc_tab_rest;
			drawable_tabSelected = R.drawable.ucasc_tab_push;
			drawable_beansay_btn_selected = R.drawable.ucasc_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.ucasc_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.ucasc_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.ucasc_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.ucasc_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.ucasc_text_beans_says;
			
		}
		else if (schoolSlug.contentEquals(new StringBuffer("cal-state-univ-fullerton"))){
			
			drawable_tabNormal = R.drawable.casfl_tab_rest;
			drawable_tabSelected = R.drawable.casfl_tab_push;
			drawable_beansay_btn_selected = R.drawable.casfl_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.casfl_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.casfl_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.casfl_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.casfl_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.casfl_text_beans_says;
			
		}
		else if (schoolSlug.contentEquals(new StringBuffer("cal-state-univ-long-beach"))){
			
			drawable_tabNormal = R.drawable.caslb_tab_rest;
			drawable_tabSelected = R.drawable.caslb_tab_push;
			drawable_beansay_btn_selected = R.drawable.caslb_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.caslb_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.caslb_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.caslb_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.caslb_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.caslb_text_beans_says;
			
		}
		else if (schoolSlug.contentEquals(new StringBuffer("cal-state-univ-northridge"))){
			
			drawable_tabNormal = R.drawable.casnr_tab_rest;
			drawable_tabSelected = R.drawable.casnr_tab_push;
			drawable_beansay_btn_selected = R.drawable.casnr_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.casnr_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.casnr_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.casnr_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.casnr_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.casnr_text_beans_says;
			
		}
		
		else if (schoolSlug.contentEquals(new StringBuffer("fresno-state-univ"))){
			
			drawable_tabNormal = R.drawable.frstu_tab_rest;
			drawable_tabSelected = R.drawable.frstu_tab_push;
			drawable_beansay_btn_selected = R.drawable.frstu_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.frstu_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.frstu_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.frstu_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.frstu_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.frstu_text_beans_says;
			
		}
		else if (schoolSlug.contentEquals(new StringBuffer("univ-idaho"))){
			
			drawable_tabNormal = R.drawable.unidh_tab_rest;
			drawable_tabSelected = R.drawable.unidh_tab_push;
			drawable_beansay_btn_selected = R.drawable.unidh_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.unidh_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.unidh_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.unidh_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.unidh_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.unidh_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("northern-arizona-univ"))){
			
			drawable_tabNormal = R.drawable.nazun_tab_rest;
			drawable_tabSelected = R.drawable.nazun_tab_push;
			drawable_beansay_btn_selected = R.drawable.nazun_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.nazun_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.nazun_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.nazun_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.nazun_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.nazun_text_beans_says;
			
		}
		else if (schoolSlug.contentEquals(new StringBuffer("univ-oregon"))){
			
			drawable_tabNormal = R.drawable.unorg_tab_rest;
			drawable_tabSelected = R.drawable.unorg_tab_push;
			drawable_beansay_btn_selected = R.drawable.unorg_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.unorg_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.unorg_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.unorg_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.unorg_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.unorg_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("oregon-state-univ"))){
			
			drawable_tabNormal = R.drawable.orstu_tab_rest;
			drawable_tabSelected = R.drawable.orstu_tab_push;
			drawable_beansay_btn_selected = R.drawable.orstu_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.orstu_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.orstu_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.orstu_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.orstu_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.orstu_text_beans_says;
			
		}
else if (schoolSlug.contentEquals(new StringBuffer("pepperdine-univ"))){
			
			drawable_tabNormal = R.drawable.peppr_tab_rest;
			drawable_tabSelected = R.drawable.peppr_tab_push;
			drawable_beansay_btn_selected = R.drawable.peppr_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.peppr_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.peppr_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.peppr_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.peppr_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.peppr_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("portland-state-univ"))){
			
			drawable_tabNormal = R.drawable.pdstu_tab_rest;
			drawable_tabSelected = R.drawable.pdstu_tab_push;
			drawable_beansay_btn_selected = R.drawable.pdstu_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.pdstu_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.pdstu_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.pdstu_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.pdstu_text_beans_says;
			drawable_beansay_dog_shadow = R.drawable.pdstu_text_beans_says;
			
		}
		
	
		else if (schoolSlug.contentEquals(new StringBuffer("univ-san-diego"))){

			drawable_tabNormal = R.drawable.unsdg_tab_rest;
			drawable_tabSelected = R.drawable.unsdg_tab_push;
			drawable_beansay_btn_selected = R.drawable.unsdg_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.unsdg_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.unsdg_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.unsdg_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.unsdg_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("san-diego-state-univ"))){

			drawable_tabNormal = R.drawable.sdstu_tab_rest;
			drawable_tabSelected = R.drawable.sdstu_tab_push;
			drawable_beansay_btn_selected = R.drawable.sdstu_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.sdstu_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.sdstu_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.sdstu_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.sdstu_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("san-jose-state-univ"))){

			drawable_tabNormal = R.drawable.sjstu_tab_rest;
			drawable_tabSelected = R.drawable.sjstu_tab_push;
			drawable_beansay_btn_selected = R.drawable.sjstu_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.sjstu_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.sjstu_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.sjstu_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.sjstu_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("seattle-univ"))){

			drawable_tabNormal = R.drawable.seaun_tab_rest;
			drawable_tabSelected = R.drawable.seaun_tab_push;
			drawable_beansay_btn_selected = R.drawable.seaun_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.seaun_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.seaun_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.seaun_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.seaun_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("univ-southern-cal"))){

			drawable_tabNormal = R.drawable.usoca_tab_rest;
			drawable_tabSelected = R.drawable.usoca_tab_push;
			drawable_beansay_btn_selected = R.drawable.usoca_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.usoca_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.usoca_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.usoca_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.usoca_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("stanford-univ"))){

			drawable_tabNormal = R.drawable.stand_tab_rest;
			drawable_tabSelected = R.drawable.stand_tab_push;
			drawable_beansay_btn_selected = R.drawable.stand_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.stand_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.stand_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.stand_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.stand_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("wash-state-univ"))){

		
			
			drawable_tabNormal = R.drawable.wastu_tab_rest;
			drawable_tabSelected = R.drawable.wastu_tab_push;
			drawable_beansay_btn_selected = R.drawable.wastu_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.wastu_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.wastu_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.wastu_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.wastu_text_beans_says;
			
		}
		else if (schoolSlug.contentEquals(new StringBuffer("univ-washington"))){

			drawable_tabNormal = R.drawable.unwas_tab_rest;
			drawable_tabSelected = R.drawable.unwas_tab_push;
			drawable_beansay_btn_selected = R.drawable.unwas_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.unwas_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.unwas_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.unwas_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.unwas_text_beans_says;
			
		}else if (schoolSlug.contentEquals(new StringBuffer("western-wash-univ"))){

			drawable_tabNormal = R.drawable.wswau_tab_rest;
			drawable_tabSelected = R.drawable.wswau_tab_push;
			drawable_beansay_btn_selected = R.drawable.wswau_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.wswau_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.wswau_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.wswau_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.wswau_text_beans_says;
			
		}else {
			
			drawable_tabNormal = R.drawable.unwas_tab_rest;
			drawable_tabSelected = R.drawable.unwas_tab_push;
			drawable_beansay_btn_selected = R.drawable.unwas_dog_beans_says_rest;
			drawable_beansay_btn_normal =  R.drawable.unwas_dog_beans_says_push;
			drawable_beansay_dog =  R.drawable.unwas_dog_beans_says;
			drawable_beansay_nodeal = R.drawable.unwas_dog_beans_says_nodeal;
			drawable_beansay_text = R.drawable.unwas_text_beans_says;
			
			
		}*/
		
	}

	
public void setImageSlugVersion(String slugversion) {
		
		this.slugversion = slugversion;
		//update the drawable since univ name is now known
		updatedrawable();
	}
	
	public void setSchoolSlug(String schoolSlug) {
		
		this.schoolSlug = schoolSlug;
		//update the drawable since univ name is now known
	}

	public void setImageSlug(String imageslug) {
		
		this.imageslug = imageslug;
		//update the drawable since univ name is now known
		
	
	}
	

	
	public String setSlugVersion() {
		
		return slugversion;
		//update the drawable since univ name is now known
	}

	public String getImageSlug() {
		
		return imageslug;
		
	
	}

	public String getSchoolSlug() {
		return schoolSlug;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}

	public String getStateName() {
		return stateName;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getCountry() {
		return country;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setIsApproved(int isApproved) {
		this.isApproved = ((isApproved==1)?true:false);
	}

	public boolean getIsApproved() {
		return isApproved;
	}

	public void setColor_tabFontColorNormal(int color_tabFontColorNormal) {
		this.color_tabFontColorNormal  = color_tabFontColorNormal -16777216;
	}

	public int getColor_tabFontColorNormal() {
		return color_tabFontColorNormal;
	}

	public void setColor_tabFontColorSelected(int color_tabFontColorSelected) {
		this.color_tabFontColorSelected  = color_tabFontColorSelected -16777216;
	}

	public int getColor_tabFontColorSelected() {
		return color_tabFontColorSelected;
	}

	public void setSchoolTitle(String schoolTitle) {
		this.schoolTitle = schoolTitle;
	}

	public String getSchoolTitle() {
		return schoolTitle;
	}

	public void setColor_titleBarTopColor(int color_titleBarTopColor) {
		this.color_titleBarTopColor = color_titleBarTopColor;
		
		
	}

	public int getColor_titleBarTopColor() {
		return color_titleBarTopColor;
	}

	public void setColor_titleBarBottomColor(int color_titleBarBottomColor) {
		this.color_titleBarBottomColor = color_titleBarBottomColor;
	}

	public int getColor_titleBarBottomColor() {
		return color_titleBarBottomColor;
	}

	public void setDrawable_gradient_separator(
			Drawable drawable_gradient_separator) {
		this.drawable_gradient_separator = drawable_gradient_separator;
	}

	public Drawable getDrawable_gradient_separator() {
		return drawable_gradient_separator;
	}
}
